package cn.cvs.eduservice.service;

import cn.cvs.eduservice.entity.EduTeacher;
import cn.cvs.eduservice.entity.vo.TeacherQuery;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface EduTeacherService extends IService<EduTeacher> {
    void pageQuery(Page<EduTeacher> pageParam, TeacherQuery teacherQuery);

    boolean removeTeacherById(String id);

    boolean saveTeacher(EduTeacher teacher);

    boolean updateTeacherById(EduTeacher teacher);

    List<EduTeacher> findAll();

}
